package com.travel.util;

//响应实体格式
public class ResponseEntity {

    //成功与否
    private boolean success = true;

    //数据
    private Object data;

    //消息(错误信息)
    private String message;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
